<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  
  <script type="text/javascript" src="<%=path%>/js/jquery-1.7.2.min.js"></script>
  <script type="text/javascript" src="<%=path%>/js/jquery.timers.js"></script>
  <script type="text/javascript" src="<%=path%>/js/yanue.pop.js"></script>
  <style type="text/css">
	*{margin:0;padding:0;}
	#pop{ position:absolute;float:left;z-index:2;background:#fff;width:260px;border:1px solid #e0e0e0;font-size:12px;right:10px;bottom:10px;}
	#popHead{line-height:32px;background:#f6f0f3;border-bottom:1px solid #e0e0e0;font-size:12px;padding:0 0 0 10px;}
	#popHead h2{font-size:14px;color:#666;line-height:32px;height:32px;}
	#popHead #popClose{position:absolute;right:10px;top:1px;}
	#popHead a#popClose:hover{color:#f00;cursor:pointer;}
	#popContent{padding:5px 10px;}
	#popTitle a{line-height:24px;font-size:14px;font-family:'微软雅黑';color:#333;font-weight:bold;text-decoration:none;}
	#popTitle a:hover{color:#f60;}
	#popIntro{text-indent:24px;line-height:160%;margin:5px 0;color:#666;}
	#popMore{text-align:right;border-top:1px dotted #ccc;line-height:24px;margin:8px 0 0 0;}
	#popMore a{color:#f60;}
	#popMore a:hover{color:#f00;}
	</style>
	<script type="text/javascript" >
	$(function(){
	    //loadPop();	
	    //$("#pop").everyTime('6s',function(){
        //loadPop();
        //}); 
        //$("#popClose").click(function(){
  		//  closeAllMsg();
  		//});       
	}); 
		
	function loadPop(){
	      var url = "<%=path%>/info/findConsultXsByUserid.action";
	      $.post(url, function(data){	      
	      var json = eval('(' + data + ')');	      
	      if(json!=null){
	        //赋值
            $("#xsbh").val(json.xsbh);
	        var pop=new Pop(
	        "点击查看",
	        "<%=path%>/consult/displayContract.action?xsbh="+json.xsbh+"&index=2",
	        "<%=path%>/consult/initQuery.action",
			"您有一笔未完成的交易，合同号为："+json.xsbh);
	      }
	      });
		   
	}
	
	function closeAllMsg(){
	    var xsbh=$("#xsbh").val();
	    var url = "<%=path%>/info/modifyCacheXs.action?xsbh="+xsbh;
	    $.post(url);	
	}

   </script>
  </head>  
  <body>
<!--jquery右下角pop弹窗start -->
<input id="xsbh"  type="hidden" />
<div id="pop" style="display:none;">	
	<div id="popHead">
	<a id="popClose" title="关闭" >关闭</a>
	<h2>温馨提示</h2>
	</div>
	<div id="popContent">
	<dl>
		<dt id="popTitle"><a href="#" target="mainFrame">标题</a></dt>
		<dd id="popIntro">内容简介</dd>
	</dl>
	<p id="popMore"><a href="#" target="mainFrame">查看更多»</a></p>
	</div>
</div>
<!--右下角pop弹窗 end-->
<iframe src="<%=path%>/index.jsp" width="100%" height="100%" marginwidth=0 scrolling="no" frameborder="0"></iframe>
</body>
</html>